home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
132_01.zip
/
PRELUDE
< prev
next >
Wrap
Text File
|
1993-06-01
|
512b
|
32 lines
#ASM
;+
; This file must preceed any 'C' language program which requires
; added stack space. It is called once on entry to the entire set of
; 'C' routines. On exit POSTLUDE is called.
;-
prelude:
pshs Y
tfr s,y
lds #newstack
pshs d,x,y,u,dp
jsr begin
postlude:
puls d,x,y,u,dp
tfr y,s
puls y
rts
;+
; reserve stack space
;-
rmb 200H
newstack:
rmb 2
begin:
#ENDASM
ASM
tick(); /* get joystick co-ordinates */
xl = *plx;
yl = *ply;
xr = *prx;
yr = *pry;
mscan=mas